package co.laomag.coffee.dao.admins;

import co.laomag.coffee.model.entity.Admin;
import co.laomag.coffee.model.vo.AdminVo;

import java.util.List;

public interface AdminDao {
    int deleteByPrimaryKey(Integer aid);

    int insert(Admin record);

    int insertSelective(Admin record);

    AdminVo selectByPhone(String phone);

    int updateByPrimaryKeySelective(Admin record);

    int updateByPrimaryKey(Admin record);

    List<Admin> selectAdmin(String title,int page,int limit,int aid);

    int getTotal(String title,int aid);
}